package com.wodsy.phoenix.datadao.shopc.dao;


import com.wodsy.phoenix.datadao.base.IBaseDao;
import com.wodsy.phoenix.dataobject.base.Pager;
import com.wodsy.phoenix.dataobject.shopc.model.Shop;

public interface ShopDao extends IBaseDao<Shop, Integer> {
	
	
	/**
	 * 删除店铺
	 * @param shopId
	 */
	void delShop(Integer shopId);
	
	/**
	 * 查询店铺
	 * @param pager
	 * @return
	 */
	Pager<Shop> findShop(Pager<Shop> pager) ;
	
	/**
	 * 店铺开放
	 * @param shopId
	 */
	void openShop(Integer shopId);
	
	/**
	 * 店铺关闭
	 * @param shopId
	 */
	void closeShop(Integer shopId);
}
